#pragma once

#include "../../test.h"
#include "../DateTime.hpp"

namespace header
{
namespace test
{

TEST(DateTime)
{
    // DateTime datetime1;
    // EXPECT_NE("", datetime1.to_string());
    DateTime datetime2(2025, 4, 3, 12, 0, 12, 34);
    EXPECT_EQ("2025-04-03 12:00:12.34", datetime2.to_string());
    EXPECT_EQ("2025-04-03 12:00:12.34", datetime2.to_string("YYYY-MM-DD hh:mm:ss.z"));
    EXPECT_EQ("2025/25 4/04/Apr./April 3/03/Thur./Thursday 12/12 0/00 12/12 34", datetime2.to_string("YYYY/YY M/MM/MMM/MMMM D/DD/DDD/DDDD h/hh m/mm s/ss z"));
}

}   // namespace test
}   // namespace header
